package com.fs.sys.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 租户应用
 *
 * @author  LiuQi 2025/6/13-21:24
 * @version V1.0
 **/
@Data
@TableName("sys_tenant_app")
public class TenantAppEntity {
    @Id
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 租户id
     */
    private String tenantId;

    /**
     * 应用id
     */
    private String appId;

    /**
     * 记录添加时间
     */
    private LocalDateTime createTime;

    /**
     * 授权日期
     */
    private LocalDate authDate;

    /**
     * 应用过期日期
     */
    private LocalDate expireDate;
}
